From: Nick Roberts Date: Tue, 6 Feb 2007 03:40:33 +0000 (+0000) Subject: (gdb-frames-mode): Truncate lines in stack X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~2386 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=af7d4f810316155191350f1c9e4b9cccd82d30de;p=emacs.git (gdb-frames-mode): Truncate lines in stack buffer. --- diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index b18353d7024..f4f855f62a5 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el @@ -2158,8 +2158,9 @@ static char *magick[] = { (kill-all-local-variables) (setq major-mode 'gdb-frames-mode) (setq mode-name "Frames") - (setq gdb-stack-position nil) + (setq gdb-stack-position nil) (add-to-list 'overlay-arrow-variable-list 'gdb-stack-position) + (setq truncate-lines t) ;; Make it easier to see overlay arrow. (setq buffer-read-only t) (use-local-map gdb-frames-mode-map) (run-mode-hooks 'gdb-frames-mode-hook)